package day52.system.mapper;

import day52.system.domain.Permission;
import day52.basic.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Huang
 * @since 2022-12-26
 */
@Repository
public interface PermissionMapper extends BaseMapper<Permission> {


    Permission findBySn(String permissionSn);

    List<String> findPermissionByLoginInfoId(Long id);

}
